/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package east2west.interfaces;

import east2west.dto.TourOrderDetailDTO;
import java.util.ArrayList;

/**
 *
 * @author nguyendat
 */
public interface TourOrderDetailInterface {

    ArrayList<TourOrderDetailDTO> readByAll();

    ArrayList<TourOrderDetailDTO> findByStartDate(String startDate);

    ArrayList<TourOrderDetailDTO> findByTotal(float total);

    TourOrderDetailDTO findById(int id);

    ArrayList<TourOrderDetailDTO> findByTourOrderDetailDto(TourOrderDetailDTO dto);

    boolean create(TourOrderDetailDTO dto);

    boolean update(TourOrderDetailDTO dto);

    boolean delete(TourOrderDetailDTO dto);

    boolean delete(int id);
}
